/**
 * Copyright &copy; 2012-2015. All rights reserved.
 */
package com.migu.rbac.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 字符串工具类, 继承org.apache.commons.lang3.StringUtils类
 *
 * @author ThinkStone
 * @version 2013-05-22
 */
public class StringUtils {

    private static final char SEPARATOR = '_';
    private static final String CHARSET_NAME = "UTF-8";

    private static final Logger log = LoggerFactory.getLogger(StringUtils.class);


    public static boolean isNullStr(String str) {
        if (str == null || str.trim().equals("") || str.trim().length() == 0) {
            return true;
        } else {
            return false;
        }
    }


}
